import enUS from 'vant/es/locale/lang/en-US';
import enBase from './en_base';
export default {
	...enBase,
	enUS,
	// 通用组件
	common: {
		generic: {
			codenotexist: 'Code list does not exist',
			noservice: 'Service does not exist',
			miss: 'Missing parameter ',
			requestexception: 'Request Exception！',
			loadfail: 'Failed to load data',
			onText: 'OK',
			onCcancel: 'Cancel',
			laodmore: 'Load More',
			loading: 'Loading',
		},
		login: {
			username: 'Name',
			password: 'Password',
			userplaceholder: 'Please Enter Username',
			pwdplaceholder: 'Please Enter Password',
			login: 'Login',
			reset: 'Reset',
			other: 'Other Login Ways',
			remember: 'Remember me',
			findpassword: 'Retrieve password',
			noaccount: "Don't have an account yet",
			registernow: 'Register Now',
			verification: 'Verification',
		},
		datepicker: {
			selectdate: 'Select Date',
			selecttime: 'Select Time',
		},
		fileupload: {
			uptooltip: 'Upload file',
			error: 'Upload failed',
			loadfail: 'Load fail',
			downloaderror: 'Download failed',
		},
		numberrange: {
			warn: 'The end value needs to be greater than the start value',
		},
		panelfield: {
			error: 'Value cannot be empty',
		},
		refresher: {
			successtext: 'Refresh succeeded',
		},
	},
	function: {
		generic: {
			promptInformation: 'Exit the system, continue?',
			prompt: 'Tips',
		},
	},
	// 应用
	app: {
		warn: {
			nofind: 'No relevant data could be found',
			undefined: 'Undefined',
		},
		error: {
			implementlogicerror:
				'The current environment cannot execute the data creation logic [abnormal execution behavior]',
			deletelogicerror:
				'The current environment cannot execute data deletion logic [abnormal execution behavior]',
			savelogicerror:
				'The current environment cannot execute the data saving logic [abnormal execution behavior]',
			rulesexception: 'Value rule validation exception',
		},
		success: {
			finishedaction: 'Operation completed',
		},
		common: {
			confirm: 'OK',
			cancel: 'Cancel',
		},
		util: {
			errorvalue: 'Content must conform to value rules',
			errorlength: 'The content length must conform to the scope rule',
			errorempty: 'Value is empty',
			errorregular: 'Value must conform to regular rules',
			errorscriptcode: 'Value must conform to script rules',
			errorvaluerange: 'Value must conform to the value range rule',
			maxvalue: 'The maximum content value must be',
			minvalue: 'Content minimum value must be',
			maxlength: 'Max Length',
			minlength: 'Min Lnegth',
			currentlength: 'Current Length',
			valueprecision: 'Content precision must be',
		},
		helper: {
			openhtmlfail: 'Failed to open html view in mode',
		},
	},
	layoutelement: {
		login: {
			phoneplaceholder: 'Please enter your mobile number',
			getcode: 'Get verification code',
			getcodeafter: 'Obtain the verification code again',
			phonestyleerror: 'Phone number format error',
		},
		loginthird: {
			notsupportding: 'Dingding login is not supported',
			notsupportwxwork: 'WeChat login is not supported',
		},
	},
	//视图
	view: {
		error: {
			notargetview: 'Target view does not exist',
			nokey: 'No data primary key',
			printfail: 'Printing failed',
			exportfail: 'Export failed',
		},
		warn: {
			notdataimport: 'No data import items',
		},
		editview: {
			newbuild: 'New',
		},
		tabexpview: {
			unknowerror: 'An unknown error occurred',
		},
	},
	// 部件
	widget: {
		md: {
			notconfig: {
				fetchaction: 'The fetchaction parameter is not configured',
			},
			errortext: 'Request was aborted',
			finishedtext: 'No more',
			other: 'Other',
		},
		editform: {
			notconfig: {
				loadaction: 'The loadAction parameter is not configured',
				loaddraftaction: 'The loadDraftAction parameter is not configured',
				updateaction: 'The updateAction parameter is not configured',
				createaction: 'The createAction parameter is not configured',
				removeaction: 'The removeAction parameter is not configured',
			},
			workflow: {
				submitsuccess: 'Submit Success',
				submitfailure: 'Submit Failure',
				startsuccess: 'Start Success',
				startfailure: 'Start Failure',
			},
			savesuccess: 'Save Success',
			savefailure: 'Save Failure',
			removesuccess: 'Remove Success',
			removefailure: 'Remove Failure',
			formvalidate: 'Form Validate Failure',
			formdruipart: 'Please save the master data first',
			serviceerror: 'Front end logic error of part service',
			hiddenfields: 'Hidden fields',
			showfilelds: 'Show fields',
			scriptcodecheckerror: 'Script code verification error',
			mandatory: 'Mandatory',
			valueruleabnormal: 'Value rule exception',
		},
		chart: {
			noindicator: 'Indicator does not exist. Cannot convert data set!',
		},
		searchform: {
			reset: 'Reset',
			search: 'Search',
		},
		multieditviewpanel: {
			add: 'Add',
		},
		multiedit: {
			draftnew: 'Draft New',
		},
	},
};
